.class Lcom/estrongs/android/ui/view/ESVideoView$l;
.super Ljava/lang/Thread;
.source "ESVideoView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/ui/view/ESVideoView;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = "l"
.end annotation


# instance fields
.field private a:Z

.field public b:I

.field public c:I

.field private d:Ljava/lang/Object;

.field private e:Lcom/estrongs/android/ui/view/ESVideoView;


# direct methods
.method public constructor <init>(Lcom/estrongs/android/ui/view/ESVideoView;)V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->a:Z

    const/4 v1, -0x1

    .line 3
    iput v1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->b:I

    .line 4
    iput v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->c:I

    .line 5
    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->e:Lcom/estrongs/android/ui/view/ESVideoView;

    .line 7
    iput-object p1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->e:Lcom/estrongs/android/ui/view/ESVideoView;

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iput p1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->b:I

    .line 3
    iput p1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->c:I

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    invoke-virtual {p1}, Ljava/lang/Object;->notify()V

    .line 5
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public destroy()V
    .locals 2

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->a:Z

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    monitor-enter v0

    .line 3
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    invoke-virtual {v1}, Ljava/lang/Object;->notify()V

    .line 4
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public run()V
    .locals 3

    .line 1
    :goto_0
    iget-boolean v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->a:Z

    if-nez v0, :cond_1

    .line 2
    iget v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->b:I

    if-gez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    monitor-enter v0

    .line 4
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    invoke-virtual {v1}, Ljava/lang/Object;->wait()V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_1

    :catchall_0
    move-exception v1

    goto :goto_2

    :catch_0
    move-exception v1

    .line 5
    :try_start_1
    invoke-virtual {v1}, Ljava/lang/InterruptedException;->printStackTrace()V

    .line 6
    :goto_1
    monitor-exit v0

    goto :goto_0

    :goto_2
    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v1

    .line 7
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->d:Ljava/lang/Object;

    monitor-enter v0

    .line 8
    :try_start_2
    iget v1, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->b:I

    const/4 v2, -0x1

    .line 9
    iput v2, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->b:I

    .line 10
    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/ui/view/ESVideoView$l;->e:Lcom/estrongs/android/ui/view/ESVideoView;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/view/ESVideoView;->a(I)V

    goto :goto_0

    :catchall_1
    move-exception v1

    .line 12
    :try_start_3
    monitor-exit v0
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    throw v1

    :cond_1
    return-void
.end method
